﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HK2009.BusinessFacade
{
    public interface ISyAutoSendEmail
    {

        void TimeTaskSendEmail();

        /// <summary>
        /// 添加发送Email的相关内容到数据库
        /// </summary>
        /// <param name="app">应用编号</param>
        /// <param name="content">Email内容</param>
        /// <param name="emailList">要发送的Email集合</param>
        /// <param name="userID">userID</param>
        void InsertEmailContent(string app, string content, List<string> emailList, int userID);

        /// <summary>
        /// 添加发送Email的相关内容到数据库
        /// </summary>
        /// <param name="app">应用编号</param>
        /// <param name="content">Email内容</param>
        /// <param name="emailList">要发送的Email集合</param>
        /// <param name="userID">userID</param>
        void InsertEmailContent(string app, string content, string[] emailList, int userID);
    }
}
